package com.mindata.blockchain.core.model;

import com.mindata.blockchain.core.model.base.BaseEntity;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author 王鹏
 */
@Entity
@Table(name = "pay")
public class PayEntity extends BaseEntity {

    /**
     * 订单id
     */
    private String orderId;

    /**
     * 支付流水号
     */
    private String payId;


    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getPayId() {
        return payId;
    }

    public void setPayId(String payId) {
        this.payId = payId;
    }

    @Override
    public String toString() {
        return "PayEntity{" +
                "orderId='" + orderId + '\'' +
                ", payId='" + payId + '\'' +
                '}';
    }
}
